STEP 18: You can make adjustments to the routine by changing the sprite's speed and the wait time.

  • Go to and drag Set Speed right below the sprite, above the start of the routine.

Choose a larger number to speed up the routine and a smaller number to slow it down.

  • You can also try adjusting the wait time by changing the numbers in the .wait() commands.

You can use decimals, like 0.5, to make a wait time of less than 1 second.

To navigate the page using the TAB key, first press ESC to exit the code editor.

stage.set_background("footballfield2") sprite = codesters.Sprite("cheerleader1") sprite.move_down(150) sprite.flip_up_down() sprite.move_right(200) sprite.move_left(200) sprite.flip_up_down() stage.wait(2) sprite.move_up(50) sprite.turn_left(360) sprite.move_down(50) stage.wait(2) sprite.flip_right_left() stage.wait(1) sprite.flip_right_left() stage.wait(1) sprite.flip_right_left() stage.wait(1) sprite.flip_right_left() stage.wait(1) sprite.say("I love dancing!")
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)